import Vue from 'vue'
import App from './App.vue'
import router from './router/index.js'
import store from './store/index.js'
import ElementUI from 'element-ui';
import { ElementTiptapPlugin } from 'element-tiptap';
import 'element-tiptap/lib/index.css';
import 'element-ui/lib/theme-chalk/index.css';
import api from './ajax/api';

Vue.config.productionTip = false
Vue.prototype.$api = api;
Vue.use(ElementTiptapPlugin, { /* plugin options */ });
Vue.use(ElementUI);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
